<%@ page pageEncoding="UTF-8"%>
<%@ include file="/include/taglibs.jsp"%>
    <script type="text/javascript" language="javascript" src="${ctx}/script/paging.js"></script>
    <link rel="stylesheet" type="text/css" href="${ctx}/css/main.css"/>
    
    
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap"><span class="STYLE1">共${pageUtil.totalRecord}条纪录，当前第${pageUtil.curPage}/${pageUtil.totalPage }页，每页 ${pageUtil.pageSize}条纪录</span></td>
            <td width="75%" valign="top" class="STYLE1"><div align="right">
              <table width="352" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="30" height="22" valign="middle"><div align="right">
                         <c:choose>
				<c:when test="${pageUtil.curPage ne 1}">
				 <img src="${ctx}/image/firstPage.gif"  onclick="changePage('first');return;" style="cursor:pointer;"/>
				</c:when>
				<c:otherwise>
					<img src="${ctx}/image/firstPageDisabled.gif"/>
				</c:otherwise>
			    </c:choose>
                  
                  </div></td>
                  <td width="30" height="22" valign="middle"><div align="right">
                  
                 <c:choose>
				<c:when test="${pageUtil.curPage > 1}">
				 <img src="${ctx}/images/prevPage.gif"  onclick="changePage('previous');return;" style="cursor:pointer;"/>
				</c:when>
				<c:otherwise>
					<img src="${ctx}/image/prevPageDisabled.gif"/>
				</c:otherwise>
			    </c:choose>
                  </div></td>
                  
                  <td width="30" height="22" valign="middle"><div align="right">
                  <c:choose>
				<c:when test="${(pageUtil.curPage+1) < pageUtil.totalPage or (pageUtil.curPage+1) eq pageUtil.totalPage}">
					<img src="${ctx}/image/nextPage.gif" onclick="changePage('next');" style="cursor:pointer;"/>
				</c:when>
				<c:otherwise>
					<img src="${ctx}/image/nextPageDisabled.gif"/>
				</c:otherwise>
			    </c:choose>
                  </div></td>
                  <td width="30" height="22" valign="middle"><div align="right">
                  
                       <c:choose>
				<c:when test="${(pageUtil.curPage+1) <pageUtil.totalPage  or (pageUtil.curPage+1) eq pageUtil.totalPage}">
					<img src="${ctx}/image/lastPage.gif" onclick="changePage('last');" style="cursor:pointer;"/>
				</c:when>
				<c:otherwise>
					 <img src="${ctx}/image/lastPageDisabled.gif" />
				</c:otherwise>
			    </c:choose>
                 
                  </div></td>
                  <td width="59" height="22" valign="middle"><div align="right" class="STYLE2 STYLE1">转到第</div></td>
                  <td width="25" height="22" valign="middle"><span class="STYLE7">
                    <input name="pageNum" type="text" value="${pageUtil.curPage}" class="STYLE1" style="height:20px; width:25px;text-align:right" size="5" />
                  </span></td>
                  <td width="23" height="22" valign="middle" class="STYLE2 STYLE1">页</td>
                  <td width="30" height="22" valign="middle"><img src="${ctx}/image/go.gif" width="37" onclick="changePage()" height="15" style="cursor:pointer;"/>
                  <input type="hidden" name="currentPageNum" value="${pageUtil.curPage}">
	              <input type="hidden" name="totalPageCount" value="${pageUtil.totalPage}">
                  </td>
                </tr>
              </table>
            </div></td>
          </tr>
        </table>